Pathfinding
Node Data | |
|---|---|
Display name | |
Pathfinding | |
Internal name | |
Node_Path_Pathfind | |
Inheritances | |
| Node_Path_Pathfind | |
Inputs | |
surface |
Mask |
Pathfinding | |
vec2 |
Start |
vec2 |
End |
bool |
Diagonal |
Path | |
bool |
Simplify |
Mask | |
bool |
Draw Mask |
Path | |
bool |
Draw Path |
range |
Range |
gradient |
Color |
Outputs | |
surface |
Rendered |
pathnode |
Path |
boolean |
Reached |
Calculate shortest path connecting 2 pixels. Both pixels need to have the same color.
Properties
| Pathfinding | |
| Start | Starting position |
| End | End position |
| Diagonal | Allow diagonal line. |
| Path | |
| Simplify | Remove anchor on a straight line. |
| Rendering | |
| Draw Mask | Draw original surface. |
| Draw Path | Draw path. |
| Range | Path range to draw. |
| Color | Color over path. |
Commit History
| 1.22.1 |
|
|---|
Related Links
- Base Code: /scripts/node_path_pathfind/node_path_pathfind.gml
- Shader [sh_path_pathfind_mask]: /shaders/sh_path_pathfind_mask/sh_path_pathfind_mask.fsh
- Shader [sh_path_pathfile_draw]: /shaders/sh_path_pathfile_draw/sh_path_pathfile_draw.fsh

































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































